import request from '@/router/axios';
// 维修工单列表
export const getList = (current, size, params) => {
    return request({
      url: '/api/hg-equipment/repair/select/track',
      method: 'get',
      params: {
        current,
        size,
        ...params,
      }
    })
  }

// 维修工单跟踪附件
export const getFiles = (id) => {
  return request({
    url: '/api/hg-equipment/repair/select/track/file',
    method: 'get',
    params: {
      id
    }
  })
}

// 维修工单跟踪附件
export const getInfo = (repairId,status) => {
  return request({
    url: '/api/hg-equipment/repair/select/track/info',
    method: 'get',
    params: {
      repairId,
      status
    }
  })
}

